home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / CmdDefs.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  2.0 KB  |  54 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _CMDDEFS_
  3. #define _CMDDEFS_
  4.  
  5. #ifndef _ODTYPES_
  6. #include "ODTypes.idl"
  7. #endif
  8.  
  9. // The C/C++ output for this file can be compiled by C/C++ and Rez, since
  10. // It contains #defines for the command numbers of the standard menu items
  11. // of the document shell
  12.  
  13. //!!! We should reserve a range
  14.  
  15. module ODCommands {
  16. const    ODCommandID  kODCommandAbout         =   999;
  17.  
  18. const ODCommandID  kODCommandNew              = 1000;
  19. const ODCommandID  kODCommandOpen              = 1001;
  20. const ODCommandID  kODCommandOpenDocument   = 1002;
  21. const ODCommandID  kODCommandInsert            = 1003;
  22. const ODCommandID  kODCommandClose            = 1004;
  23. const ODCommandID  kODCommandSave              = 1005;
  24. const ODCommandID  kODCommandSaveACopy      = 1006;
  25. const ODCommandID  kODCommandRevert            = 1007;
  26. const ODCommandID  kODCommandDraft            = 1008;
  27. const ODCommandID  kODCommandPageSetup      = 1009;
  28. const ODCommandID  kODCommandPrint            = 1010;
  29. const ODCommandID  kODCommandShowPartsBin    = 1011;
  30.  
  31. const ODCommandID  kODCommandAddDeleteAOCEMailer     = 1030;
  32. const ODCommandID  kODCommandExpandAOCEMailer        = 1031;
  33. const ODCommandID  kODCommandContractAOCEMailer      = 1032;
  34. const ODCommandID  kODCommandSendMail                = 1033;
  35. const ODCommandID  kODCommandForwardMail              = 1034;
  36. const ODCommandID  kODCommandReplyToMail              = 1035;
  37. const ODCommandID  kODCommandReplyToAllMail            = 1036;
  38.  
  39. const ODCommandID  kODCommandUndo              = 1016;
  40. const ODCommandID  kODCommandRedo              = 1017;
  41. const ODCommandID  kODCommandCut              = 1018;
  42. const ODCommandID  kODCommandCopy              = 1019;
  43. const ODCommandID  kODCommandPaste            = 1020;
  44. const ODCommandID  kODCommandPasteAs        = 1021;
  45. const ODCommandID  kODCommandClear            = 1022;
  46. const ODCommandID  kODCommandSelectAll      = 1023;
  47. const ODCommandID  kODCommandGetPartInfo    = 1024;
  48. const ODCommandID  kODCommandPreferences    = 1025;
  49. const ODCommandID  kODCommandViewAsWin      = 1026;
  50.  
  51. };
  52.  
  53. #endif  // _CMDDEFS_
  54.